package com.coolnie.service;

import com.coolnie.entity.Pager;
import com.coolnie.entity.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/6/14 0014.
 */
public interface UsersService {

    List<Users> findAll();

    int insert(Users record);

    Users findOne(@Param("username") String username);

    int insertSelective(Users record);

    int deleted(@Param("username") String username);

    int update(Users record);


    Pager<Users> findAllByPageIndex(int pageIndex);
}
